var _EsdDynamicTransformationFunction = function($){
/**
* 命名空间定义
*/
var _EsdDynamicTransformationScript = {};
_EsdDynamicTransformationScript.navBlock = {}; // 定义区域跳转类
_EsdDynamicTransformationScript.navBlock.selector = {};
/**
* 文本链接 a
*/
//保证所有a标签都有href
$("a").each(function(){

var aHref = this.href;
if( aHref=="" || aHref==undefined ){
$(this).attr("href","javascript:void(0)");
}

//给a标签加title
var aTitle = this.title;
var aText = this.text;

if( aTitle=="" || aTitle==undefined ){
if( aText!="" || aText!=undefined ){
$(this).attr("title",$.trim(aText));
}
}

});

//select下的option添加title
$("option").each(function(){
var oTitle = this.title;
var oText = this.text;
if( oTitle=="" || oTitle==undefined ){
if( oText!="" || oText!=undefined ){
$(this).attr("title",$.trim(oText));
}
}
});



if( $('#num').length == 1 ){
$('#num').attr({'title':'页数', 'placeholder':'页数'});
$('input[type="submit"]').attr({'title':'跳转按钮', 'placeholder':'跳转按钮'});
}


if( $('#code').length == 1 ){
$('#code').attr({'title':'请输入查询编号', 'placeholder':'请输入查询编号'});
$('table:eq(2) td:last div').attr({'title':'跳转按钮', 'placeholder':'跳转按钮'});
}















/**
* 图片处理片段
*/
$('img[src="./xglj/gdtp/201608/W020170731557161700174.jpg"]').attr('title','吉林省人才交流开发中心').attr('alt','吉林省人才交流开发中心');$('img[src="./xglj/gdtp/201608/W020160825546429535785.png"]').attr('title','吉林省公务员局').attr('alt','吉林省公务员局');$('img[src="./syzjtpxw/201608/W020160828606738230919.jpg"]').attr('title','返乡创业 大有作为').attr('alt','返乡创业 大有作为');$('img[src="./images/meng_tousu.png"]').attr('title','装饰性图片').attr('alt','装饰性图片');$('img[src="./images/meng_fwzc_photo_new.png"]').attr('title','服务之窗：表格下载、办事指南、社会保障卡、信息查询、12333咨询').attr('alt','服务之窗：表格下载、办事指南、社会保障卡、信息查询、12333咨询');$('img[src="./sytpxw/201911/W020191108514852825355.jpg"]').attr('title','全省职业技能提升行动推进会在德惠召开').attr('alt','全省职业技能提升行动推进会在德惠召开');$('img[src="./images/gabatb.png"]').attr('title','吉公网安备').attr('alt','吉公网安备');$('img[src="./xglj/gdtp/201608/W020160825560707680548.png"]').attr('title','吉林省工业技师学院，吉林省胜利高级技工学校').attr('alt','吉林省工业技师学院，吉林省胜利高级技工学校');$('img[src="./images/meng_flfg_photo_new.png"]').attr('title','装饰性图片').attr('alt','装饰性图片');$('img[src="./xglj/gdtp/201608/W020160822565236858180.jpg"]').attr('title','吉林省留学回国人员和专家服务中心').attr('alt','吉林省留学回国人员和专家服务中心');$('img[src="./xglj/gdtp/201608/W020160825546350628578.png"]').attr('title','吉林省人民政府').attr('alt','吉林省人民政府');$('img[src="./xglj/gdtp/201608/W020160825632674440216.png"]').attr('title','中华人民共和国中央人民政府').attr('alt','中华人民共和国中央人民政府');$('img[src="./sytpxw/201909/W020190924406819945263.jpg"]').attr('title','省人社厅惠企惠民政策指南').attr('alt','省人社厅惠企惠民政策指南');$('img[src="./xglj/gdtp/201608/W020160825546981076774.png"]').attr('title','吉林省社会保险事业管理局').attr('alt','吉林省社会保险事业管理局');$('img[src="./syzjtpxw/201608/W020160825630845925493.jpg"]').attr('title','“两学一做”学习教育专栏').attr('alt','“两学一做”学习教育专栏');$('img[src="./xglj/gdtp/201907/W020190710514642984620.jpg"]').attr('title','中国留学人员之家').attr('alt','中国留学人员之家');$('img[src="./xglj/gdtp/201608/W020170426503414044286.png"]').attr('title','吉林省继续教育公共服务平台').attr('alt','吉林省继续教育公共服务平台');$('img[src="./sypf/201906/W020190611300870446983.jpg"]').attr('title','全国人社窗口单位业务技能在线学习答题平台').attr('alt','全国人社窗口单位业务技能在线学习答题平台');$('img[src="./xglj/gdtp/201903/W020190327537356857686.jpg"]').attr('title','吉林就业创业网').attr('alt','吉林就业创业网');$('img[src="./images/meng_ywml.png"]').attr('title','业务目录').attr('alt','业务目录');$('img[src="./xglj/gdtp/201608/W020160825551412927130.png"]').attr('title','中华人民共和国人力资源和社会保障部').attr('alt','中华人民共和国人力资源和社会保障部');$('img[src="./images/mengIjrtt.png"]').attr('title','今日头条').attr('alt','今日头条');$('img[src="./syzjtpxw/201801/W020180108613245334249.jpg"]').attr('title','吉林智慧人社网上办事大厅').attr('alt','吉林智慧人社网上办事大厅');$('img[src="./xglj/gdtp/201608/W020160823387451615675.jpg"]').attr('title','博士后中国').attr('alt','博士后中国');$('img[src="./images/meng_xglj.png"]').attr('title','相关链接').attr('alt','相关链接');$('img[src="./xglj/gdtp/201608/W020160825560992136023.png"]').attr('title','吉林省人力资源和社会保障教育中心').attr('alt','吉林省人力资源和社会保障教育中心');$('img[src="./sytpxw/201910/W020191025508558925504.jpg"]').attr('title','吴兰厅长到长春医药化工工业技术学校实训基地和长春市施耐利机器人系统有限公司调研').attr('alt','吴兰厅长到长春医药化工工业技术学校实训基地和长春市施耐利机器人系统有限公司调研');$('img[src="./sytpxw/201912/W020191206335966010402.jpg"]').attr('title','吉林省人社厅召开全厅警示教育大会').attr('alt','吉林省人社厅召开全厅警示教育大会');$('img[src="./syzjtpxw/201802/W020180224350728661466.png"]').attr('title','预决算信息').attr('alt','预决算信息');$('img[src="//dcs.conac.cn/image/red.png"]').attr('title','党政机关').attr('alt','党政机关');$('img[src="./images/rlzy-jycy-20190625.png"]').attr('title','吉林就业创业网').attr('alt','吉林就业创业网');$('img[src="./xglj/gdtp/201608/W020160823387518164747.jpg"]').attr('title','吉林省人事考试网').attr('alt','吉林省人事考试网');$('img[src="./hdjl/xfjswtzj/images/P020181119382787174138.jpg"]').attr('title','行风建设问题征集').attr('alt','行风建设问题征集');$('img[src="./xglj/gdtp/201608/W020160822565481031365.jpg"]').attr('title','吉林省社会保障一卡通服务网').attr('alt','吉林省社会保障一卡通服务网');$('img[src="./images/meng_xinxiang.png"]').attr('title','装饰性图片').attr('alt','装饰性图片');$('img[src="./xglj/gdtp/201608/W020170426506946072942.png"]').attr('title','吉林省社会医疗保险管理局').attr('alt','吉林省社会医疗保险管理局');$('img[src="./hdjl/zxzx/images/P020181119382666876795.jpg"]').attr('title','我要咨询').attr('alt','我要咨询');$('img[src="./sytpxw/201912/W020191205334251738310.jpg"]').attr('title','吉林省委宣讲团成员吴兰在省人社厅宣讲党的十九届四中全会精神').attr('alt','吉林省委宣讲团成员吴兰在省人社厅宣讲党的十九届四中全会精神');$('img[src="http://pucha.kaipuyun.cn/exposure/images/jiucuo.png?v=2200000004"]').attr('title','无效图片').attr('alt','无效图片');$('img[src="./syzjtpxw/201608/W020160828604584456501.jpg"]').attr('title','吉林省社会保障一卡通服务网').attr('alt','吉林省社会保障一卡通服务网');$('img[src="./xglj/gdtp/201608/W020160825389328792513.png"]').attr('title','吉林公务员考试网').attr('alt','吉林公务员考试网');

// img
$("img").each(function(){
//给图片加alt/title
var imgAlt = this.alt,
imgTitle = this.title,
imgSrc = this.src,
parentText = this.parentElement.text;

if(this.alt=="" || this.alt==undefined){
if(imgTitle!="" && imgTitle!=undefined){
$(this).attr("alt",imgTitle);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("alt",parentText);
}
}
if(this.title=="" || this.title==undefined){
if(imgAlt!="" && imgAlt!=undefined){
$(this).attr("title",imgAlt);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("title",parentText);
}
}
})

$("img").each(function(){
if( (this.alt=="" && this.title=="")||(this.alt==undefined && this.title==undefined) ){
$(this).attr("title","图片");
$(this).attr("alt","图片");
}
})
/**
* 共通头部
*/



// 当前页面url
_EsdDynamicTransformationScript.currentUrl = window.location.href;
//当前站点的主页判断
_EsdDynamicTransformationScript.isSiteIndexPage = (_EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn' || _EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/' || _EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/#' || _EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/index.html')?true:false;
/**
* 主导航
*/
/**
* 网站主页轮播图
*
*/
// ***************	网站首页 begin	***************	//
if(_EsdDynamicTransformationScript.isSiteIndexPage){
/*	轮播,右下角原点--鼠标点击触发情况
轮播：只获取轮播中一个a标签。
以文字a标签为主，图片a标签尽量不要，title不稳定
*/
//轮播前的标签
_EsdDynamicTransformationScript.esdTagFrontNum1 = $(".meng_title4 a");

//文字A标签
_EsdDynamicTransformationScript.esdTagANum1 = $("#D1pic1 .fcon:eq(0) .shadow a");
_EsdDynamicTransformationScript.esdTagANum2 = $("#D1pic1 .fcon:eq(1) .shadow a");
_EsdDynamicTransformationScript.esdTagANum3 = $("#D1pic1 .fcon:eq(2) .shadow a");
_EsdDynamicTransformationScript.esdTagANum4 = $("#D1pic1 .fcon:eq(3) .shadow a");
_EsdDynamicTransformationScript.esdTagANum5 = $("#D1pic1 .fcon:eq(4) .shadow a");

//原点
_EsdDynamicTransformationScript.esdTagCircleNum1 = $("#D1fBt a:eq(0) i");
_EsdDynamicTransformationScript.esdTagCircleNum2 = $("#D1fBt a:eq(1) i");
_EsdDynamicTransformationScript.esdTagCircleNum3 = $("#D1fBt a:eq(2) i");
_EsdDynamicTransformationScript.esdTagCircleNum4 = $("#D1fBt a:eq(3) i");
_EsdDynamicTransformationScript.esdTagCircleNum5 = $("#D1fBt a:eq(4) i");

//轮播后的标签
_EsdDynamicTransformationScript.esdTagAfterNum1 = $("#fsD1 .fbg p a");

//轮播前的焦点
_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
$("#tab7 a:first").mouseout();
//		$("a").mouseout();
$(this).bind("keydown.keydown_1_0", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum1.click();
_EsdDynamicTransformationScript.esdTagANum1.focus();
_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
$(this).unbind("keydown.keydown_1_0");
});

//第一块
_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
$(this).bind("keydown.keydown_1_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagFrontNum1.focus();
_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
$(this).unbind("keydown.keydown_1_1");
});

//第二块
_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
$(this).bind("keydown.keydown_1_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum1.click();
_EsdDynamicTransformationScript.esdTagANum1.focus();
_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
$(this).unbind("keydown.keydown_1_2");
});

//第三块
_EsdDynamicTransformationScript.esdTagANum3.focus(function (e) {
$(this).bind("keydown.keydown_1_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
_EsdDynamicTransformationScript.esdTagANum3.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
_EsdDynamicTransformationScript.esdTagANum3.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum3.blur(function () {
$(this).unbind("keydown.keydown_1_3");
});

//第四块
_EsdDynamicTransformationScript.esdTagANum4.focus(function (e) {
$(this).bind("keydown.keydown_1_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
_EsdDynamicTransformationScript.esdTagANum4.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
_EsdDynamicTransformationScript.esdTagANum4.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum4.blur(function () {
$(this).unbind("keydown.keydown_1_4");
});

//第五块
_EsdDynamicTransformationScript.esdTagANum5.focus(function (e) {
$(this).bind("keydown.keydown_1_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
_EsdDynamicTransformationScript.esdTagANum5.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
_EsdDynamicTransformationScript.esdTagANum5.trigger("blur");

return false;
}
});

});
_EsdDynamicTransformationScript.esdTagANum5.blur(function () {
$(this).unbind("keydown.keydown_1_5");
});

//轮播后的焦点
_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
$(this).bind("keydown.keydown_1_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
}else if (e.keyCode == 9) {
// 右边的公告通知选项卡获得焦点
$("#tabBox3 .tabTag2 li:eq(0) a").focus();
}
_EsdDynamicTransformationScript.esdTagAfterNum1.trigger("blur");
return false;
});

});
_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
$(this).unbind("keydown.keydown_1_n");
});
}
//***************	网站首页 end	***************	//
/**
* 二级页 互动交流
*/
// ***************	二级页面之 互动交流 begin	***************	//
if(location.href=="http://hrss.jl.gov.cn/hdjl/" || location.href=="http://hrss.jl.gov.cn/hdjl/zxzx/zxzx1_28604/"){


_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointInterval);


// input type为text,password类型的输入框处理
// 预先定义几个常用的input title值
_EsdDynamicTransformationScript.placeholderKeywordCode='请输入查询编号';
_EsdDynamicTransformationScript.placeholderBtnSearch='查询按钮';
_EsdDynamicTransformationScript.placeholderBtnSearch2 = '跳转按钮';

// input type为text,password类型的输入框处理
// 预先定义几个常用的input title值
// 快速查询
_EsdDynamicTransformationScript.placeholderKeywordCode='请输入查询编号';
_EsdDynamicTransformationScript.placeholderBtnSearch='查询按钮';

// 咨询信息框
_EsdDynamicTransformationScript.placeholderFormTitle='标题';
_EsdDynamicTransformationScript.placeholderFormName='姓名';
_EsdDynamicTransformationScript.placeholderFormTelphone='联系电话';
_EsdDynamicTransformationScript.placeholderFormArea='地区';
_EsdDynamicTransformationScript.placeholderFormAddress='地址';
_EsdDynamicTransformationScript.placeholderFormQuestionType='问题类型';
_EsdDynamicTransformationScript.placeholderFormIsReply='是否公开恢复';
_EsdDynamicTransformationScript.placeholderFormEmail='电子邮件';
_EsdDynamicTransformationScript.placeholderFormContent='内容';
_EsdDynamicTransformationScript.placeholderFormSubmit='提交';
_EsdDynamicTransformationScript.placeholderFormReset='重置';

// 快速查询
// 搜索框
_EsdDynamicTransformationScript.inputObject = $('#code');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderKeywordCode, 'placeholder':_EsdDynamicTransformationScript.placeholderKeywordCode});
// 查询按钮
_EsdDynamicTransformationScript.inputObject = $('table:eq(2) td:last div');
$(_EsdDynamicTransformationScript.inputObject).attr('title',_EsdDynamicTransformationScript.placeholderBtnSearch);

// 咨询信息框
// 标题
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(19)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormTitle, 'placeholder':_EsdDynamicTransformationScript.placeholderFormTitle});
// 姓名
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(20)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormName, 'placeholder':_EsdDynamicTransformationScript.placeholderFormName});
// 联系电话
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(21)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormTelphone, 'placeholder':_EsdDynamicTransformationScript.placeholderFormTelphone});
// 地区
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('select:eq(0)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormArea, 'placeholder':_EsdDynamicTransformationScript.placeholderFormArea});
// 地址
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(22)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormAddress, 'placeholder':_EsdDynamicTransformationScript.placeholderFormAddress});
// 问题类型
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('select:eq(1)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormQuestionType, 'placeholder':_EsdDynamicTransformationScript.placeholderFormQuestionType});
// 是否公开回复
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('select:eq(2)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormIsReply, 'placeholder':_EsdDynamicTransformationScript.placeholderFormIsReply});
// 邮箱
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('input:eq(23)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormEmail, 'placeholder':_EsdDynamicTransformationScript.placeholderFormEmail});
// 内容
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('#frmData span');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormContent, 'placeholder':_EsdDynamicTransformationScript.placeholderFormContent});
// 提交
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('#SubmitButton');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormSubmit, 'placeholder':_EsdDynamicTransformationScript.placeholderFormSubmit});
// 重置
_EsdDynamicTransformationScript.inputObject = $('iframe:eq(0)').contents().find('#ResetButton');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderFormReset, 'placeholder':_EsdDynamicTransformationScript.placeholderFormReset});


}
}, 500);

}


if(location.href=="http://hrss.jl.gov.cn/hdjl/tsjb/"){
_EsdDynamicTransformationScript.slidePointIntervalrd = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointIntervalrd);

var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"标题",title:"标题"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"姓名",title:"姓名"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系电话",title:"联系电话"});
$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"手机",title:"手机"});
$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"邮政编码",title:"邮政编码"});
$(inputIframe).find("#frmData input:eq(5)").attr({placeholder:"通讯地址",title:"通讯地址"});
$(inputIframe).find("#frmData input:eq(6)").attr({placeholder:"电子邮件",title:"电子邮件"});

$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}
}, 500);
}

if(location.href=="http://hrss.jl.gov.cn/hdjl/xfjswtzj/"){
_EsdDynamicTransformationScript.slidePointIntervalrd = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointIntervalrd);

var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"标题",title:"标题"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"姓名",title:"姓名"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系电话",title:"联系电话"});
$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"邮政编码",title:"邮政编码"});
$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"电子邮件",title:"电子邮件"});
$(inputIframe).find("#frmData input:eq(5)").attr({placeholder:"通讯地址",title:"通讯地址"});

$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}
}, 500);
}

if(location.href=="http://hrss.jl.gov.cn/hdjl/tzxx/"){
_EsdDynamicTransformationScript.slidePointIntervalrd = setInterval(function () {
if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
clearInterval(_EsdDynamicTransformationScript.slidePointIntervalrd);

var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"标题",title:"标题"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"姓名",title:"姓名"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系电话",title:"联系电话"});
$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"手机",title:"手机"});
$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"邮政编码",title:"邮政编码"});
$(inputIframe).find("#frmData input:eq(5)").attr({placeholder:"通讯地址",title:"通讯地址"});
$(inputIframe).find("#frmData input:eq(6)").attr({placeholder:"电子邮件",title:"电子邮件"});

$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}
}, 500);
}








/**
* 主页js
*/
if(_EsdDynamicTransformationScript.isSiteIndexPage){

// input type为text,password类型的输入框处理
// 预先定义几个常用的input title值
_EsdDynamicTransformationScript.placeholderKeywordCode='请输入查询编号';
_EsdDynamicTransformationScript.placeholderKeyword='请输入搜索关键词';
_EsdDynamicTransformationScript.placeholderBtnSearch='查询按钮';
_EsdDynamicTransformationScript.placeholderPassword='密码';
// 底部几个下拉框
_EsdDynamicTransformationScript.placeholderSelectOtherProvince='各省网站链接';
_EsdDynamicTransformationScript.placeholderSelectAllCities='各市州网站链接';
_EsdDynamicTransformationScript.placeholderSelectOtherAgent='省内其他厅局';
_EsdDynamicTransformationScript.placeholderSelectOtherUnit='厅直属事业单位';

// 互动交流中的搜索框
_EsdDynamicTransformationScript.inputObject = $('#code');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderKeywordCode, 'placeholder':_EsdDynamicTransformationScript.placeholderKeywordCode});
// 互动交流中的搜索提交按钮
_EsdDynamicTransformationScript.inputObject = $('table:eq(1) td:last div');
$(_EsdDynamicTransformationScript.inputObject).attr('title',_EsdDynamicTransformationScript.placeholderBtnSearch);
// 主页中右部的搜索框 对象
_EsdDynamicTransformationScript.inputObject = $('#keyword');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderKeyword, 'placeholder':_EsdDynamicTransformationScript.placeholderKeyword});
// 主页中右部的 搜索提交按钮
_EsdDynamicTransformationScript.inputObject = $('#form_cds input:last');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderBtnSearch});

// 底部几个下拉框
// 各省网站链接 对象
_EsdDynamicTransformationScript.inputObject = $('.meng_yqlj select:eq(0)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderSelectOtherProvince});
// 各市州网站链接 对象
_EsdDynamicTransformationScript.inputObject = $('.meng_yqlj select:eq(1)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderSelectAllCities});
// 省内其他厅局 对象
_EsdDynamicTransformationScript.inputObject = $('.meng_yqlj select:eq(2)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderSelectOtherAgent});
// 厅直属事业单位 对象
_EsdDynamicTransformationScript.inputObject = $('.meng_yqlj select:eq(3)');
$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderSelectOtherUnit});


// 0. 上部导航栏  机构职能/法律法规/政策发布及解读/信息公开/服务之窗/互动交流 选项卡  ------------ begin
// 各个tab选项卡 title名称
_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title = $("#tab2 a:first");
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title = $("#tab3 a:first");
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title = $("#tab4 a:first");
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title = $("#tab5 a:first");
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title = $("#tab6 a:first");
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title = $("#tab7 a:first");
/*	alert('_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title).html() + '\n'
);	*/
// 各个选项卡列表中 第一个内容
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentFirst = $("#menu2 a:eq(0)");
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentFirst = $("#menu3 a:eq(0)");
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentFirst = $("#menu4 a:eq(0)");
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentFirst = $("#menu5 a:eq(0)");
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentFirst = $("#menu6 a:eq(0)");
_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentFirst = $("#menu7 a:eq(0)");
/*	alert('_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentFirst).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentFirst).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentFirst).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentFirst).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentFirst).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentFirst).html() + '\n'
);	*/

// 各个选项卡列表中 最后一个内容
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentLast = $("#menu2 a:last");
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentLast = $("#menu3 a:last");
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentLast = $("#menu4 a:last");
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentLast = $("#menu5 a:last");
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentLast = $("#menu6 a:last");
_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentLast = $("#menu7 a:last");
/*	alert('_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentLast).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentLast).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentLast).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentLast).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentLast).html() + '\n'
+ '_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentLast).html() + '\n'
);	*/

// 选项卡后的标签
_EsdDynamicTransformationScript.esdTabHrss_nav_6_afterTag = $('.meng_title4 a:first');

// 0. 上部导航栏  第1个tab 机构职能 title
_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title.focus(function (e) {
$(this).mouseover();
$(this).bind("keydown.keydown_nav_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
$(this).mouseout();
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentFirst.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title.blur(function () {
$(this).unbind("keydown.keydown_nav_1");
});
// 机构职能 列表第一项
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentFirst.focus(function () {
$(this).bind("keydown.keydown_nav_1_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentFirst.blur(function () {
$(this).unbind("keydown.keydown_nav_1_1");
});
// 机构职能 列表最后一项
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentLast.focus(function () {
$(this).bind("keydown.keydown_nav_1_n", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentLast.blur(function () {
$(this).unbind("keydown.keydown_nav_1_n");
});

// 0. 上部导航栏  第2个tab 法律法规
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title.focus(function (e) {
$(this).mouseover();
$(this).bind("keydown.keydown_nav_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_1_Title.mouseover();
_EsdDynamicTransformationScript.esdTabHrss_nav_1_ContentLast.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentFirst.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title.blur(function () {
$(this).unbind("keydown.keydown_nav_2");
});
// 法律法规 列表第一项
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentFirst.focus(function () {
$(this).bind("keydown.keydown_nav_2_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentFirst.blur(function () {
$(this).unbind("keydown.keydown_nav_2_1");
});
// 法律法规 列表最后一项
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentLast.focus(function () {
$(this).bind("keydown.keydown_nav_2_n", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentLast.blur(function () {
$(this).unbind("keydown.keydown_nav_2_n");
});

// 0. 上部导航栏  第3个tab 政策发布及解读
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title.focus(function (e) {
$(this).mouseover();
$(this).bind("keydown.keydown_nav_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_2_Title.mouseover();
_EsdDynamicTransformationScript.esdTabHrss_nav_2_ContentLast.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentFirst.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title.blur(function () {
$(this).unbind("keydown.keydown_nav_3");
});
// 政策发布及解读 列表第一项
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentFirst.focus(function () {
$(this).bind("keydown.keydown_nav_3_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentFirst.blur(function () {
$(this).unbind("keydown.keydown_nav_3_1");
});
// 政策发布及解读 列表最后一项
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentLast.focus(function () {
$(this).bind("keydown.keydown_nav_3_n", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentLast.blur(function () {
$(this).unbind("keydown.keydown_nav_3_n");
});

// 0. 上部导航栏  第5个tab 信息公开
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title.focus(function (e) {
$(this).mouseover();
$(this).bind("keydown.keydown_nav_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_3_Title.mouseover();
_EsdDynamicTransformationScript.esdTabHrss_nav_3_ContentLast.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentFirst.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title.blur(function () {
$(this).unbind("keydown.keydown_nav_4");
});
// 信息公开 列表第一项
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentFirst.focus(function () {
$(this).bind("keydown.keydown_nav_4_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentFirst.blur(function () {
$(this).unbind("keydown.keydown_nav_4_1");
});
// 信息公开 列表最后一项
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentLast.focus(function () {
$(this).bind("keydown.keydown_nav_4_n", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentLast.blur(function () {
$(this).unbind("keydown.keydown_nav_4_n");
});

// 0. 上部导航栏  第5个tab 服务之窗
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title.focus(function (e) {
$(this).mouseover();
$(this).bind("keydown.keydown_nav_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_4_Title.mouseover();
_EsdDynamicTransformationScript.esdTabHrss_nav_4_ContentLast.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentFirst.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title.blur(function () {
$(this).unbind("keydown.keydown_nav_5");
});
// 服务之窗 列表第一项
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentFirst.focus(function () {
$(this).bind("keydown.keydown_nav_5_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentFirst.blur(function () {
$(this).unbind("keydown.keydown_nav_5_1");
});
// 服务之窗 列表最后一项
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentLast.focus(function () {
$(this).bind("keydown.keydown_nav_5_n", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentLast.blur(function () {
$(this).unbind("keydown.keydown_nav_5_n");
});

// 0. 上部导航栏  第6个tab 互动交流
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title.focus(function (e) {
$(this).mouseover();
$(this).bind("keydown.keydown_nav_6", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_5_Title.mouseover();
_EsdDynamicTransformationScript.esdTabHrss_nav_5_ContentLast.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentFirst.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title.blur(function () {
$(this).unbind("keydown.keydown_nav_6");
});
// 互动交流 列表第一项
_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentFirst.focus(function () {
$(this).bind("keydown.keydown_nav_6_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentFirst.blur(function () {
$(this).unbind("keydown.keydown_nav_6_1");
});
// 互动交流 列表最后一项
_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentLast.focus(function () {
$(this).bind("keydown.keydown_nav_6_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
$(this).unbind("keydown.keydown_nav_6_n");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title.mouseout();
_EsdDynamicTransformationScript.esdTabHrss_nav_6_afterTag.focus();
$(this).unbind("keydown.keydown_nav_6_n");
return false;
}
});
});

// 顶部导航栏跳转后的 标签
_EsdDynamicTransformationScript.esdTabHrss_nav_6_afterTag.focus(function () {
$(this).bind("keydown.keydown_nav_afterTag", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTabHrss_nav_6_Title.mouseover();
_EsdDynamicTransformationScript.esdTabHrss_nav_6_ContentLast.focus();
$(this).unbind("keydown.keydown_nav_afterTag");
return false;
}else if(e.keyCode==9){
$(this).unbind("keydown.keydown_nav_afterTag");
}
});
});

// 0. 上部导航栏  机构职能/法律法规/政策发布及解读/信息公开/服务之窗/互动交流  ------------ end

//第二部分	公告+公示+仲裁公告+双公示
//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num1 = $("#tabBox3 .tabCon #hgzdt1 a").length-1;
_EsdDynamicTransformationScript.num2 = $("#tabBox3 .tabCon #hgzdt2 a").length-1;
_EsdDynamicTransformationScript.num3 = $("#tabBox3 .tabCon #hgzdt3 a").length-1;
_EsdDynamicTransformationScript.num4 = $("#tabBox3 .tabCon #hgzdt4 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd1TagNum1 = $("#tabBox3 .tabTag2 li:eq(0) a");
_EsdDynamicTransformationScript.esd1TagNum2 = $("#tabBox3 .tabTag2 li:eq(1) a");
_EsdDynamicTransformationScript.esd1TagNum3 = $("#tabBox3 .tabTag2 li:eq(2) a");
_EsdDynamicTransformationScript.esd1TagNum4 = $("#tabBox3 .tabTag2 li:eq(3) a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd1TagNum1Content1 = $("#tabBox3 .tabCon #hgzdt1 a:eq(0)");
_EsdDynamicTransformationScript.esd1TagNum2Content1 = $("#tabBox3 .tabCon #hgzdt2 a:eq(0)");
_EsdDynamicTransformationScript.esd1TagNum3Content1 = $("#tabBox3 .tabCon #hgzdt3 a:eq(0)");
_EsdDynamicTransformationScript.esd1TagNum4Content1 = $("#tabBox3 .tabCon #hgzdt4 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd1TagNum1ContentN = $("#tabBox3 .tabCon #hgzdt1 a:eq("+_EsdDynamicTransformationScript.num1+")");
_EsdDynamicTransformationScript.esd1TagNum2ContentN = $("#tabBox3 .tabCon #hgzdt2 a:eq("+_EsdDynamicTransformationScript.num2+")");
_EsdDynamicTransformationScript.esd1TagNum3ContentN = $("#tabBox3 .tabCon #hgzdt3 a:eq("+_EsdDynamicTransformationScript.num3+")");
_EsdDynamicTransformationScript.esd1TagNum4ContentN = $("#tabBox3 .tabCon #hgzdt4 a:eq("+_EsdDynamicTransformationScript.num4+")");

//第一块
_EsdDynamicTransformationScript.esd1TagNum1.focus(function (e) {
fiewz(1);
$(this).bind("keydown.keydown_2_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
$("#fsD1 .fbg p a").focus();	// 轮播图的更多获得焦点
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum1Content1.focus();
}
_EsdDynamicTransformationScript.esd1TagNum1.trigger("blur");
return false;
});

});
_EsdDynamicTransformationScript.esd1TagNum1.blur(function () {
$(this).unbind("keydown.keydown_2_1");
});

_EsdDynamicTransformationScript.esd1TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_2_1_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum1.focus();
_EsdDynamicTransformationScript.esd1TagNum1Content1.trigger("blur");
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd1TagNum1Content1.trigger("blur");
}
});
});
_EsdDynamicTransformationScript.esd1TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_2_1_1");
});

_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_2_1_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd1TagNum1ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum2.focus();
_EsdDynamicTransformationScript.esd1TagNum1ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd1TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_2_1_n");
});

//第二块
_EsdDynamicTransformationScript.esd1TagNum2.focus(function (e) {
fiewz(2);
e = $(this).mouseover();
$(this).bind("keydown.keydown_2_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
fiewz(1);
_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus();
_EsdDynamicTransformationScript.esd1TagNum2.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum2Content1.focus();
_EsdDynamicTransformationScript.esd1TagNum2.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2_2");
});

_EsdDynamicTransformationScript.esd1TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_2_2_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum2.focus();
_EsdDynamicTransformationScript.esd1TagNum2Content1.trigger("blur");
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd1TagNum2Content1.trigger("blur");
}
});
});
_EsdDynamicTransformationScript.esd1TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_2_2_1");
});

_EsdDynamicTransformationScript.esd1TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_2_2_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd1TagNum2ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum3.focus();
_EsdDynamicTransformationScript.esd1TagNum2ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd1TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_2_2_n");
});

//第三块
_EsdDynamicTransformationScript.esd1TagNum3.focus(function (e) {
fiewz(3);
$(this).bind("keydown.keydown_2_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
fiewz(2);
_EsdDynamicTransformationScript.esd1TagNum2ContentN.focus();
_EsdDynamicTransformationScript.esd1TagNum3.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum3Content1.focus();
_EsdDynamicTransformationScript.esd1TagNum3.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagNum3.blur(function () {
$(this).unbind("keydown.keydown_2_3");
});

_EsdDynamicTransformationScript.esd1TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown_2_3_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum3.focus();
_EsdDynamicTransformationScript.esd1TagNum3Content1.trigger("blur");
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd1TagNum3Content1.trigger("blur");
}
});
});
_EsdDynamicTransformationScript.esd1TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown_2_3_1");
});

_EsdDynamicTransformationScript.esd1TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown_2_3_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd1TagNum3ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum4.focus();
_EsdDynamicTransformationScript.esd1TagNum3ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd1TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown_2_3_n");
});

//第四块
_EsdDynamicTransformationScript.esd1TagNum4.focus(function (e) {
fiewz(4);
$(this).bind("keydown.keydown_2_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
fiewz(3);
_EsdDynamicTransformationScript.esd1TagNum3ContentN.focus();
_EsdDynamicTransformationScript.esd1TagNum4.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum4Content1.focus();
_EsdDynamicTransformationScript.esd1TagNum4.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagNum4.blur(function () {
$(this).unbind("keydown.keydown_2_4");
});

_EsdDynamicTransformationScript.esd1TagNum4Content1.focus(function () {
$(this).bind("keydown.keydown_2_4_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum4.focus();
_EsdDynamicTransformationScript.esd1TagNum4Content1.trigger("blur");
return false;
}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esd1TagNum4Content1.trigger("blur");
}
});
});
_EsdDynamicTransformationScript.esd1TagNum4Content1.blur(function () {
$(this).unbind("keydown.keydown_2_4_1");
});

//第三部分 工作动态+视频动态 ---源代码js有问题导致我这个js不好使，没整明白
//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $("#tabBox1>ul>li:eq(0)>a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2 = $("#tabBox1 .tabTag li:eq(1) a:first");
/*	alert('_EsdDynamicTransformationScript.esd2TagNum1: ' + $(_EsdDynamicTransformationScript.esd2TagNum1).html() + '\n'
+ '_EsdDynamicTransformationScript.esd2TagNum2: ' + $(_EsdDynamicTransformationScript.esd2TagNum2).html()
);
*/
//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $("#tabBox1 .tabCon .tCon:eq(0) a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $("#tabBox1 .tabCon .tCon:eq(1) a:eq(0)");
/*	alert('_EsdDynamicTransformationScript.esd2TagNum1Content1: ' +$(_EsdDynamicTransformationScript.esd2TagNum1Content1).html() + '\n'
+ '_EsdDynamicTransformationScript.esd2TagNum2Content1: ' + $(_EsdDynamicTransformationScript.esd2TagNum2Content1).html()
);
*/
//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $("#tabBox1 .tabCon .tCon:eq(0) a:last");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $("#tabBox1 .tabCon .tCon:eq(1) a:last");
/*	alert('_EsdDynamicTransformationScript.esd2TagNum1ContentN: ' +$(_EsdDynamicTransformationScript.esd2TagNum1ContentN).html() + '\n'
+ '_EsdDynamicTransformationScript.esd2TagNum2ContentN: ' + $(_EsdDynamicTransformationScript.esd2TagNum2ContentN).html()
);
*/
//第一块 工作动态
_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {
//	console.log(1);
//	e = $(this).parent().mouseover();
$(_EsdDynamicTransformationScript.esd2TagNum1Content1).parent().parent().parent().show();
$(_EsdDynamicTransformationScript.esd2TagNum2Content1).parent().parent().parent().hide();
$(this).bind("keydown.keydown_3_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
$(this).unbind("keydown.keydown_3_1");
}else if(e.keyCode == 9){
_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
_EsdDynamicTransformationScript.esd2TagNum1.blur();
$(this).unbind("keydown.keydown_3_1");
return false;
}
});

});

_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_3_1_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1.focus();
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_3_1_1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_3_1_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
}else if (e.keyCode == 9) {
$(_EsdDynamicTransformationScript.esd2TagNum1Content1).parent().parent().parent().hide();
$(_EsdDynamicTransformationScript.esd2TagNum2Content1).parent().parent().parent().show();
_EsdDynamicTransformationScript.esd2TagNum2.focus();
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_3_1_n");
});

//第二块 视频动态
_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
//	console.log(2);
//	e = $(this).parent().mouseover();
$(_EsdDynamicTransformationScript.esd2TagNum1Content1).parent().parent().parent().hide();
$(_EsdDynamicTransformationScript.esd2TagNum2Content1).parent().parent().parent().show();
$(this).bind("keydown.keydown_3_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
//	_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
$(_EsdDynamicTransformationScript.esd2TagNum1Content1).parent().parent().parent().show();
$(_EsdDynamicTransformationScript.esd2TagNum2Content1).parent().parent().parent().hide();
_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
$(this).unbind("keydown.keydown_3_2");
return false;
}else if(e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
$(this).unbind("keydown.keydown_3_2");
return false;
}

});

});

_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_3_2_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.focus();
_EsdDynamicTransformationScript.esd2TagNum2Content1.blur();
$(this).unbind("keydown.keydown_3_2_1");
return false;
}
});
});

// 国务院+省政府信息  选项卡，为iframe，国务院未跨域，省政府跨域， 切换时 正常，不用处理
//国务院A元素获取焦点激活样式
$("#bgzdt1 a").focus(function (e) {
viewz(1);
$(this).bind("keydown.keydown_gwy", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
$("#agzdt1>ul>iframe").contents().find("a:eq(0)").focus();
return false;
}
});
});
$("#bgzdt1 a").blur(function () {
$(this).unbind("keydown.keydown_gwy");
});

//国务院iframe第一个A元素反切绑定
$("#agzdt1>ul>iframe").contents().find("a:eq(0)").keydown(function (e) {
if (e.shiftKey && e.keyCode == 9) {
$("#bgzdt1 a").focus();
return false;
} else if (e.keyCode == 9) {

}
});

//国务院iframe最后一个A元素正切绑定
//	$("#agzdt1>ul>iframe").contents().find("#testUl a:last").keydown(function (e) {
//	    if (e.shiftKey && e.keyCode == 9) {
//
//	    } else if (e.keyCode == 9) {
//	        $("#bgzdt2>a").focus();
//	        return false;
//	    }
//
//	});


//省政府A元素获取焦点激活样式
//	$("#bgzdt2>a").focus(function (e) {
//	    $("#bgzdt2").trigger("mousemove"); //激活省政府选项卡
//	    if (forGwy == true) {
//	        $("#bgzdt1>a").focus();
//	        forGwy = false;
//	        return false;
//	    }
//	    $(this).keydown(function (e) { //国务院选项卡A元素正切绑定
//	        if (e.shiftKey && e.keyCode == 9) { //反切方法
//	            $("#bgzdt1").trigger("mousemove"); //激活国务院选项卡
//	            $("#agzdt1>ul>iframe").contents().find("#testUl a:last").focus();
//	            return false;
//	        } else if (e.keyCode == 9) { //正切方法
//	            //$("#bgzdt2").trigger("mousemove"); //激活省政府选项卡
//	            $("#agzdt2>ul>iframe").contents().find("a:eq(0)").focus(); //设置省政府iframe内第一个a元素焦点
//	            return false;
//	        }
//
//	    });
//	});

// 页面中间偏下区域的10个图片业务栏目  暂时不做处理，让他们直接走，代码为以上 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
//各个选项名称
_EsdDynamicTransformationScript.esdTag_ywml_1_title = $(".bao_big1 .img_big1 a");	// 就业创业
_EsdDynamicTransformationScript.esdTag_ywml_2_title = $(".bao_big2 .img_big2 a");	// 社会保险
_EsdDynamicTransformationScript.esdTag_ywml_3_title = $(".bao_big3 .img_big3 a");	// 人事人才
_EsdDynamicTransformationScript.esdTag_ywml_4_title = $(".bao_big4 .img_big4 a");	// 职业能力建设
_EsdDynamicTransformationScript.esdTag_ywml_5_title = $(".bao_big12 .img_big12 a");	// 劳动关系

_EsdDynamicTransformationScript.esdTag_ywml_6_title = $(".bao_big7  .img_big7  a");	// 法制工作
_EsdDynamicTransformationScript.esdTag_ywml_7_title = $(".bao_big8  .img_big8  a");	// 审计监督
_EsdDynamicTransformationScript.esdTag_ywml_8_title = $(".bao_big6  .img_big6  a");	// 党务工作
_EsdDynamicTransformationScript.esdTag_ywml_9_title = $(".bao_big10 .img_big10 a");	// 综合
_EsdDynamicTransformationScript.esdTag_ywml_10_title = $(".bao_big11 .img_big1 a");	// 吉林智慧人社网上办事大厅
// 1/10  就业创业
_EsdDynamicTransformationScript.esdTag_ywml_1_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_$(this).unbind("keydown.keydown_ywml_1");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_2_title.focus();
$(this).unbind("keydown.keydown_ywml_1");
return false;
}
});
});
// 2/10 社会保险
_EsdDynamicTransformationScript.esdTag_ywml_2_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_1_title.focus();
_$(this).unbind("keydown.keydown_ywml_2");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_3_title.focus();
$(this).unbind("keydown.keydown_ywml_2");
return false;
}
});
});
// 3/10 人事人才
_EsdDynamicTransformationScript.esdTag_ywml_3_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_2_title.focus();
_$(this).unbind("keydown.keydown_ywml_3");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_4_title.focus();
$(this).unbind("keydown.keydown_ywml_3");
return false;
}
});
});
// 4/10 职业能力建设
_EsdDynamicTransformationScript.esdTag_ywml_4_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_3_title.focus();
_$(this).unbind("keydown.keydown_ywml_4");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_5_title.focus();
$(this).unbind("keydown.keydown_ywml_4");
return false;
}
});
});
// 5/10  劳动关系
_EsdDynamicTransformationScript.esdTag_ywml_5_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_4_title.focus();
_$(this).unbind("keydown.keydown_ywml_5");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_6_title.focus();
$(this).unbind("keydown.keydown_ywml_5");
return false;
}
});
});
// 6/10  法制工作
_EsdDynamicTransformationScript.esdTag_ywml_6_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_6", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_5_title.focus();
_$(this).unbind("keydown.keydown_ywml_6");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_7_title.focus();
$(this).unbind("keydown.keydown_ywml_6");
return false;
}
});
});
// 7/10  审计监督
_EsdDynamicTransformationScript.esdTag_ywml_7_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_7", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_6_title.focus();
_$(this).unbind("keydown.keydown_ywml_7");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_8_title.focus();
$(this).unbind("keydown.keydown_ywml_7");
return false;
}
});
});
// 8/10 党务工作
_EsdDynamicTransformationScript.esdTag_ywml_8_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_8", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_7_title.focus();
_$(this).unbind("keydown.keydown_ywml_8");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_9_title.focus();
$(this).unbind("keydown.keydown_ywml_8");
return false;
}
});
});
// 9/10  综合
_EsdDynamicTransformationScript.esdTag_ywml_9_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_9", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_8_title.focus();
_$(this).unbind("keydown.keydown_ywml_9");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTag_ywml_10_title.focus();
$(this).unbind("keydown.keydown_ywml_9");
return false;
}
});
});
// 10/10  吉林智慧人社网上办事大厅
_EsdDynamicTransformationScript.esdTag_ywml_10_title.focus(function (e) {
$(this).bind("keydown.keydown_ywml_10", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTag_ywml_9_title.focus();
_$(this).unbind("keydown.keydown_ywml_10");
return false;
}else if (e.keyCode == 9) {
$(this).unbind("keydown.keydown_ywml_10");
return false;
}
});
});


// 页面中间偏下区域的10个图片业务栏目  暂时不做处理，让他们直接走，代码为以上 ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
/**
*  页面中间偏下区域的10个图片业务栏目 处理代码暂时注释掉
//第四部分  和下面的第五部分 都是就业创业、社会保险、人事人才。。。等等中间偏下区域的10个图片业务栏目
//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num7 = $(".bao_big1 .bao_box1 a").length-1;
_EsdDynamicTransformationScript.num8 = $(".bao_big2 .bao_box2 a").length-1;
_EsdDynamicTransformationScript.num9 = $(".bao_big3 .bao_box3 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $(".bao_big1 .img_big1 a");	//  就业创业
_EsdDynamicTransformationScript.esd3TagNum2 = $(".bao_big2 .img_big2 a");	// 社会保险
_EsdDynamicTransformationScript.esd3TagNum3 = $(".bao_big3 .img_big3 a");	// 人事人才

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".bao_big1 .bao_box1 a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".bao_big2 .bao_box2 a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum3Content1 = $(".bao_big3 .bao_box3 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".bao_big1 .bao_box1 a:eq("+_EsdDynamicTransformationScript.num7+")");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".bao_big2 .bao_box2 a:eq("+_EsdDynamicTransformationScript.num8+")");
_EsdDynamicTransformationScript.esd3TagNum3ContentN = $(".bao_big3 .bao_box3 a:eq("+_EsdDynamicTransformationScript.num9+")");

//各个选项名称对应区域（调整display--none/block）
_EsdDynamicTransformationScript.esd3TagNum1Area = $(".bao_big1 .bao_box1");
_EsdDynamicTransformationScript.esd3TagNum2Area = $(".bao_big2 .bao_box2");
_EsdDynamicTransformationScript.esd3TagNum3Area = $(".bao_big3 .bao_box3");

//第一块
_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
//	_EsdDynamicTransformationScript.esd3TagNum1Area.css({"display":"block"});
e = $(this).parent().mouseover();
$(this).bind("keydown.keydown_4_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd3TagNum1.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
_EsdDynamicTransformationScript.esd3TagNum1.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
$(this).unbind("keydown.keydown_4_1");
});

_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_4_1_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1.focus();
_EsdDynamicTransformationScript.esd3TagNum1Content1.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_4_1_1");
});

_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_4_1_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
_EsdDynamicTransformationScript.esd3TagNum1ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_4_1_n");
});
//第二块
_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
//	_EsdDynamicTransformationScript.esd3TagNum1Area.css({"display":"none"});
//	_EsdDynamicTransformationScript.esd3TagNum2Area.css({"display":"block"});
e = $(this).parent().mouseover();
$(this).bind("keydown.keydown_4_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
_EsdDynamicTransformationScript.esd3TagNum1Area.css({"display":"block"});
_EsdDynamicTransformationScript.esd3TagNum2Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
_EsdDynamicTransformationScript.esd3TagNum2.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
_EsdDynamicTransformationScript.esd3TagNum2.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
$(this).unbind("keydown.keydown_4_2");
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_4_2_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
_EsdDynamicTransformationScript.esd3TagNum2Content1.trigger("blur");
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_4_2_1");
});

_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_4_2_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum2ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.focus();
_EsdDynamicTransformationScript.esd3TagNum2ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_4_2_n");
});

//第五块
_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
_EsdDynamicTransformationScript.esd3TagNum2Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd3TagNum3Area.css({"display":"block"});
e = $(this).mouseover();
$(this).bind("keydown.keydown_4_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
_EsdDynamicTransformationScript.esd3TagNum2Area.css({"display":"block"});
_EsdDynamicTransformationScript.esd3TagNum3Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
_EsdDynamicTransformationScript.esd3TagNum3.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
_EsdDynamicTransformationScript.esd3TagNum3.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
$(this).unbind("keydown.keydown_4_3");
});
_EsdDynamicTransformationScript.esd3TagNum3ContentN.blur(function () {
_EsdDynamicTransformationScript.esd3TagNum3Area.css({"display":"none"});
});


//第五部分	业务目录 5/10 第一行前五个

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num10 = $(".bao_big12 .bao_box12 a").length-1;
_EsdDynamicTransformationScript.num11 = $(".bao_big7  .bao_box7  a").length-1;
_EsdDynamicTransformationScript.num12 = $(".bao_big8  .bao_box8  a").length-1;
_EsdDynamicTransformationScript.num13 = $(".bao_big6  .bao_box6  a").length-1;
_EsdDynamicTransformationScript.num14 = $(".bao_big10 .bao_box10 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd4TagNum1 = $(".bao_big12 .img_big12 a");	// 劳动关系
_EsdDynamicTransformationScript.esd4TagNum2 = $(".bao_big7  .img_big7  a");	// 法制工作
_EsdDynamicTransformationScript.esd4TagNum3 = $(".bao_big8  .img_big8  a");	// 审计监督
_EsdDynamicTransformationScript.esd4TagNum4 = $(".bao_big6  .img_big6  a");	// 党务工作
_EsdDynamicTransformationScript.esd4TagNum5 = $(".bao_big10 .img_big10 a");	// 综合

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd4TagNum1Content1 = $(".bao_big12 .bao_box12 a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum2Content1 = $(".bao_big7  .bao_box7  a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum3Content1 = $(".bao_big8  .bao_box8  a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum4Content1 = $(".bao_big6  .bao_box6  a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum5Content1 = $(".bao_big10 .bao_box10 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd4TagNum1ContentN = $(".bao_big12 .bao_box12 a:eq("+_EsdDynamicTransformationScript.num10+")");
_EsdDynamicTransformationScript.esd4TagNum2ContentN = $(".bao_big7  .bao_box7  a:eq("+_EsdDynamicTransformationScript.num11+")");
_EsdDynamicTransformationScript.esd4TagNum3ContentN = $(".bao_big8  .bao_box8  a:eq("+_EsdDynamicTransformationScript.num12+")");
_EsdDynamicTransformationScript.esd4TagNum4ContentN = $(".bao_big6  .bao_box6  a:eq("+_EsdDynamicTransformationScript.num13+")");
_EsdDynamicTransformationScript.esd4TagNum5ContentN = $(".bao_big10 .bao_box10 a:eq("+_EsdDynamicTransformationScript.num14+")");

//各个选项名称对应区域（调整display--none/block）
_EsdDynamicTransformationScript.esd4TagNum1Area = $(".bao_big12 .bao_box12");
_EsdDynamicTransformationScript.esd4TagNum2Area = $(".bao_big7  .bao_box7 ");
_EsdDynamicTransformationScript.esd4TagNum3Area = $(".bao_big8  .bao_box8 ");
_EsdDynamicTransformationScript.esd4TagNum4Area = $(".bao_big6  .bao_box6 ");
_EsdDynamicTransformationScript.esd4TagNum5Area = $(".bao_big10 .bao_box10");



//第一块
_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {
_EsdDynamicTransformationScript.esd4TagNum1Area.css({"display":"block"});
e = $(this).mouseover();
$(this).bind("keydown.keydown_5_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum1Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum1.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
_EsdDynamicTransformationScript.esd4TagNum1.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
$(this).unbind("keydown.keydown_5_1");
});

_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_5_1_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1.focus();
_EsdDynamicTransformationScript.esd4TagNum1Content1.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_5_1_1");
});

_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_5_1_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum1ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.focus();
_EsdDynamicTransformationScript.esd4TagNum1ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_5_1_n");
});
//第二块
_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
_EsdDynamicTransformationScript.esd4TagNum1Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum2Area.css({"display":"block"});
e = $(this).mouseover();
$(this).bind("keydown.keydown_5_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
_EsdDynamicTransformationScript.esd4TagNum1Area.css({"display":"block"});
_EsdDynamicTransformationScript.esd4TagNum2Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
_EsdDynamicTransformationScript.esd4TagNum2.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
_EsdDynamicTransformationScript.esd4TagNum2.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
$(this).unbind("keydown.keydown_5_2");
});

_EsdDynamicTransformationScript.esd4TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_5_2_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.focus();
_EsdDynamicTransformationScript.esd4TagNum2Content1.trigger("blur");
return false;
}
});
});

_EsdDynamicTransformationScript.esd4TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_5_2_1");
});

_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_5_2_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum2ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3.focus();
_EsdDynamicTransformationScript.esd4TagNum2ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_5_2_n");
});

//第三块
_EsdDynamicTransformationScript.esd4TagNum3.focus(function (e) {
_EsdDynamicTransformationScript.esd4TagNum2Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum3Area.css({"display":"block"});
e = $(this).mouseover();
$(this).bind("keydown.keydown_5_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum2.mouseover();
_EsdDynamicTransformationScript.esd4TagNum2Area.css({"display":"block"});
_EsdDynamicTransformationScript.esd4TagNum3Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus();
_EsdDynamicTransformationScript.esd4TagNum3.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3Content1.focus();
_EsdDynamicTransformationScript.esd4TagNum3.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum3.blur(function () {
$(this).unbind("keydown.keydown_5_3");
});

_EsdDynamicTransformationScript.esd4TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown_5_3_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3.focus();
_EsdDynamicTransformationScript.esd4TagNum3Content1.trigger("blur");
return false;
}
});
});

_EsdDynamicTransformationScript.esd4TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown_5_3_1");
});

_EsdDynamicTransformationScript.esd4TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown_5_3_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum3ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum4.focus();
_EsdDynamicTransformationScript.esd4TagNum3ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown_5_3_n");
});

//第四块
_EsdDynamicTransformationScript.esd4TagNum4.focus(function (e) {
_EsdDynamicTransformationScript.esd4TagNum3Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum4Area.css({"display":"block"});
e = $(this).mouseover();
$(this).bind("keydown.keydown_5_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum3.mouseover();
_EsdDynamicTransformationScript.esd4TagNum3Area.css({"display":"block"});
_EsdDynamicTransformationScript.esd4TagNum4Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum3ContentN.focus();
_EsdDynamicTransformationScript.esd4TagNum4.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum4Content1.focus();
_EsdDynamicTransformationScript.esd4TagNum4.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum4.blur(function () {
$(this).unbind("keydown.keydown_5_4");
});

_EsdDynamicTransformationScript.esd4TagNum4Content1.focus(function () {
$(this).bind("keydown.keydown_5_4_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum4.focus();
_EsdDynamicTransformationScript.esd4TagNum4Content1.trigger("blur");
return false;
}
});
});

_EsdDynamicTransformationScript.esd4TagNum4Content1.blur(function () {
$(this).unbind("keydown.keydown_5_4_1");
});

_EsdDynamicTransformationScript.esd4TagNum4ContentN.focus(function () {
$(this).bind("keydown.keydown_5_4_n", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum4ContentN.trigger("blur");
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum5.focus();
_EsdDynamicTransformationScript.esd4TagNum4ContentN.trigger("blur");
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum4ContentN.blur(function () {
$(this).unbind("keydown.keydown_5_4_n");
});

//第五块
_EsdDynamicTransformationScript.esd4TagNum5.focus(function (e) {
_EsdDynamicTransformationScript.esd4TagNum4Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum5Area.css({"display":"block"});
e = $(this).mouseover();
$(this).bind("keydown.keydown_5_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum4.mouseover();
_EsdDynamicTransformationScript.esd4TagNum4Area.css({"display":"block"});
_EsdDynamicTransformationScript.esd4TagNum5Area.css({"display":"none"});
_EsdDynamicTransformationScript.esd4TagNum4ContentN.focus();
_EsdDynamicTransformationScript.esd4TagNum5.trigger("blur");
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum5Content1.focus();
_EsdDynamicTransformationScript.esd4TagNum5.trigger("blur");
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum5.blur(function () {
$(this).unbind("keydown.keydown_5_5");
});
_EsdDynamicTransformationScript.esd4TagNum5ContentN.blur(function () {
_EsdDynamicTransformationScript.esd4TagNum5Area.css({"display":"none"});
});
*/
}
/**
* 共通底部处理
*/
/**
* 页面区域跳转 选择器定义js
*/

//公共的
//定义跳转 使用jquery选择器语法
_EsdDynamicTransformationScript.navBlock.selector.top=".meng_bj_box a:eq(0)";
_EsdDynamicTransformationScript.navBlock.selector.nav = ".meng_bj_box .meng_nav";
_EsdDynamicTransformationScript.navBlock.selector.footer=".meng_hongtiao";


//含面包屑导航的页（非主页）
if( $(".CurrChnlCls").length > 0 || $(".meng_weizhi").length > 0 ){

_EsdDynamicTransformationScript.navBlock.selector.main=".meng_biankuang";
_EsdDynamicTransformationScript.navBlock.selector.left=".meng_biankuang .current02";
_EsdDynamicTransformationScript.navBlock.selector.right=".meng_biankuang .news_list4";
_EsdDynamicTransformationScript.navBlock.selector.content="#zoom";

$(".meng_weizhi").addClass("navBlock");
$(".meng_biankuang > div").addClass("navBlock");

_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}



if(_EsdDynamicTransformationScript.isSiteIndexPage){
// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
_EsdDynamicTransformationScript.navBlock.selector.main=".meng_jrtt_box";
_EsdDynamicTransformationScript.navBlock.selector.left="#fsD1";
_EsdDynamicTransformationScript.navBlock.selector.right=".wang-left-top3-rig";
_EsdDynamicTransformationScript.navBlock.selector.content=".meng_jrtt_box";

$(".meng_jrtt_box .meng_jrtt .meng_title4").addClass("navBlock");
$("#D1pic1").addClass("navBlock");
$("#fsD1 ").addClass("navBlock");
$(".meng_jrtt_box .wang-left-top3-rig").addClass("navBlock");
$(".meng_zjxw_box .wang-left-top1-rig ").addClass("navBlock");
$(".meng_zjxw_box .wang-left-top2-rig").addClass("navBlock");
$(".meng_xinwen").addClass("navBlock");
$(".meng_ywml_box").addClass("navBlock");
$(".meng_big_box2").addClass("navBlock");

_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}

//***************	二级页面之 服务之窗 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/fwzc/bgxz/'){

// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
_EsdDynamicTransformationScript.navBlock.selector.main=".meng_beijing_box";
_EsdDynamicTransformationScript.navBlock.selector.left=".meng_beijing_box .meng_biankuang .current02";
_EsdDynamicTransformationScript.navBlock.selector.right=".meng_beijing_box .meng_biankuang .news_list4";
_EsdDynamicTransformationScript.navBlock.selector.content=".meng_beijing_box .meng_biankuang";

}
// ***************	二级页面之 服务之窗 end	***************	//

// ***************	二级页面之 法律法规 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/flfg/gjflfg/'){

// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
_EsdDynamicTransformationScript.navBlock.selector.main=".meng_beijing_box";
_EsdDynamicTransformationScript.navBlock.selector.left=".meng_beijing_box .meng_biankuang .current02";
_EsdDynamicTransformationScript.navBlock.selector.right=".meng_beijing_box .meng_biankuang .news_list4";
_EsdDynamicTransformationScript.navBlock.selector.content=".meng_beijing_box .meng_biankuang";

}
// ***************	二级页面之 法律法规 end	***************	//

// ***************	二级页面之 互动交流 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/hdjl/'){

// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
_EsdDynamicTransformationScript.navBlock.selector.main=".meng_beijing_box";
_EsdDynamicTransformationScript.navBlock.selector.left=".meng_beijing_box .meng_biankuang .current02";
_EsdDynamicTransformationScript.navBlock.selector.right=".meng_beijing_box .meng_biankuang .news_list4";
_EsdDynamicTransformationScript.navBlock.selector.content=".meng_beijing_box .meng_biankuang";

}
// ***************	二级页面之 互动交流 end	***************	//

//***************	二级页面之 机构职能 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/jgzn/'){

// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
_EsdDynamicTransformationScript.navBlock.selector.main=".meng_beijing_box";
_EsdDynamicTransformationScript.navBlock.selector.left=".meng_beijing_box .meng_biankuang .current02";
_EsdDynamicTransformationScript.navBlock.selector.right=".meng_beijing_box .meng_biankuang .news_list4";
_EsdDynamicTransformationScript.navBlock.selector.content=".meng_beijing_box .meng_biankuang";

}
// ***************	二级页面之 机构职能 end	***************	//

//***************	二级页面之 信息公开 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/xxgk/xxgkzn/'){

// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
_EsdDynamicTransformationScript.navBlock.selector.main=".meng_beijing_box";
_EsdDynamicTransformationScript.navBlock.selector.left=".meng_beijing_box .meng_biankuang .current02";
_EsdDynamicTransformationScript.navBlock.selector.right=".meng_beijing_box .meng_biankuang .news_list4";
_EsdDynamicTransformationScript.navBlock.selector.content=".meng_beijing_box .meng_biankuang";

}
// ***************	二级页面之 信息公开 end	***************	//

//***************	二级页面之 政策发布及解读 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://hrss.jl.gov.cn/zcfbjjd/zcfb/'){

// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
_EsdDynamicTransformationScript.navBlock.selector.main=".meng_beijing_box";
_EsdDynamicTransformationScript.navBlock.selector.left=".meng_beijing_box .meng_biankuang .current02";
_EsdDynamicTransformationScript.navBlock.selector.right=".meng_beijing_box .meng_biankuang .news_list4";
_EsdDynamicTransformationScript.navBlock.selector.content=".meng_beijing_box .meng_biankuang";

}
// ***************	二级页面之 政策发布及解读 end	***************	//
/**
* 区域导航、调试开关
*/

$(document).bind("keydown.keydown_9001", function(e) {
if (e.shiftKey && e.keyCode == 20) {
$("*").focus(function() {
$(this).css({
"outline" : "2px dashed red"
});
});
$("*").blur(function() {
$(this).css({
"outline" : "0px black"
});
});
}
});

_EsdDynamicTransformationScript.navBlock.debug = true; // 是否是调试模式，调试模式有红边线，非调试模式关闭红边框
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
// 快捷键定义区
//_EsdDynamicTransformationScript.navBlock.key = {};

//_EsdDynamicTransformationScript.navBlock.key.top = "alt+1"; // (top)
//_EsdDynamicTransformationScript.navBlock.key.nav = "alt+2"; // (nav)
//_EsdDynamicTransformationScript.navBlock.key.main = "alt+3"; // (main)
//_EsdDynamicTransformationScript.navBlock.key.content = "alt+4"; // (content)
//_EsdDynamicTransformationScript.navBlock.key.left = "alt+5"; // (left)
//_EsdDynamicTransformationScript.navBlock.key.right = "alt+6"; // (right)
//_EsdDynamicTransformationScript.navBlock.key.footer = "alt+7"; // (footer)
//_EsdDynamicTransformationScript.navBlock.key.down = "alt+8"; // (down)
//_EsdDynamicTransformationScript.navBlock.key.up = "alt+9"; // (up);

// 以下变量主要用于区块跳转
_EsdDynamicTransformationScript.navBlock.sIndex = -1; // 当前栏目下标
_EsdDynamicTransformationScript.navBlock.maxIndex = -1; // 保存目前所有class="navBlock"的区域块总数量，栏目总量下标。
_EsdDynamicTransformationScript.navBlock.minIndex = 0; // 栏目数量起始下标

// 主要代码区域

// 导航跳转
_EsdDynamicTransformationScript.navBlock.keyShowSelect = function(i) {
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, el) {
if (i == index) {
_EsdDynamicTransformationScript.navBlock.debugView(el);
$(el).find("a").each(function(i, e) {
if (i == 0) {
$(e).focus();
}
});

}
});
}

// 获取所有class=navBlock的区域的总数量，初始化轮训所有需要跳转的块
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, ehx) {
_EsdDynamicTransformationScript.navBlock.maxIndex++;
});



// 快捷键功能区域
// 跳转到头部alt+1(49)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 49) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.top);
}

});
// 跳转到导航alt+2(50)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 50) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.nav);
}

});
// 跳转到主要区域alt+3(51)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 51) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.main);
}
});

// 跳转到正文区域alt+4(52)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 52) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.content);
}
});

// 跳转到左区域alt+5(53)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 53) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.left);
}
});

// 跳转到右区域alt+6(54)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 54) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.right);
}
});
// 跳转到底部alt+7(55)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 55) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.footer);
}
});
//前进alt+8(56)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 56) {
if (_EsdDynamicTransformationScript.navBlock.sIndex < _EsdDynamicTransformationScript.navBlock.maxIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex++;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});

// 后退alt+9(57)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 57) {
if (_EsdDynamicTransformationScript.navBlock.sIndex > _EsdDynamicTransformationScript.navBlock.minIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex--;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});
// 特定区域跳转
_EsdDynamicTransformationScript.navBlock.keySelectScroll = function(id) {
if ($(id).length > 0) {
_EsdDynamicTransformationScript.navBlock.appendIns(id,true);//插入ins
_EsdDynamicTransformationScript.navBlock.debugView(id);
$(id).find("a").each(function(index) {
if (index == 0) {
$(this).focus();
}
});
_EsdDynamicTransformationScript.navBlock.appendIns(id,false);//清楚ins
} else {
}

}
//为了解决漂浮高等于0的情况下区域显示是一条线
_EsdDynamicTransformationScript.navBlock.appendIns=function(id,b){
if(b==true){
$(id).append("<ins id='esdNavBlockIns' style='clear: both;display: block;'></ins>")
}else{
$("#esdNavBlockIns").remove();
}
}

if (_EsdDynamicTransformationScript.navBlock.debug == true) {
// 如果开启调试模式，添加调试绘制矩形边线
$("body").append("<div id='show_top' class='lineshow'></div>");
$("body").append("<div id='show_bottom' class='lineshow'></div>");
$("body").append("<div id='show_left' class='lineshow'></div>");
$("body").append("<div id='show_right' class='lineshow'></div>");
$(".lineshow").css({
"display" : "none"
});
}
// 开启调试模式后会显示红边
_EsdDynamicTransformationScript.navBlock.debugView = function(e) {
if (_EsdDynamicTransformationScript.navBlock.debug == true) {
var x = $(e).offset();
//var w = parseInt($(e).css("width"));
var w = $(e).outerWidth();//返回元素的宽度（包含 padding 和 border）
//var h = parseInt($(e).css("height"));
var h = $(e).outerHeight();//返回元素的高度（包含 padding 和 border）
$("#show_top").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_bottom").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top + h,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_left").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : "0px",
"height" : h
});
$("#show_right").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left + w,
"width" : "0px",
"height" : h
});
$("html,body").animate({
scrollTop : $("#show_top").offset().top
}, 200);
$(".lineshow").css({
"display" : "block"
});
}
}
};
/**
* 主入口方法
*/

if (window.jQuery == undefined) {
var wzaInitInterval = setInterval(function(){
if(document.body!=null){
clearInterval(wzaInitInterval);
//			var originalWindowOnload = null;
//			if(window.onload!=null){
//				originalWindowOnload = window.onload;
//			}
document.body.onload = function(){
//				originalWindowOnload();
var esdJquery = document.createElement("script");
esdJquery.setAttribute("type", "text/javascript");
esdJquery.setAttribute("src", window.location.protocol + "//" + window.location.href.split("/")[2] + "/wza/bwscript/jquery-1.12.4.min.js");
esdJquery.setAttribute("charset", "utf-8");
esdJquery.setAttribute("id", "ESDWebAppInnerIframe");
document.body.appendChild(esdJquery);
var jqueryLoadInterval = setInterval(function () {
if (window.jQuery != undefined) {
clearInterval(jqueryLoadInterval);
setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
//						_EsdDynamicTransformationFunction(jQuery)
}
}, 500);
};
}
}, 10);
} else {
jQuery(function(){
setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
//		_EsdDynamicTransformationFunction(jQuery)
})

}
